import { defineStore } from 'pinia';

export const useChatBoxStore = defineStore('chatBox', {
  state: () => ({
    chatCollapsed: true, //默认收起
  }),
  actions: {
    updataCollapsed(status: boolean) {
      this.chatCollapsed = status;
    },
  },
});
